package com.yunji.cabinet.business;

import com.yunji.cabinet.domain.TakeDeliveryInfoDO;
import com.yunji.cabinet.params.TakeDeliverParam;
import com.yunji.cabinet.service.ITakeDeliveryInfoService;
import org.springframework.stereotype.Component;

import javax.annotation.Resource;
import java.util.List;

@Component
public class TakeDeliveryBusiness {

    @Resource
    ITakeDeliveryInfoService takeDeliveryInfoService;

    public List<TakeDeliveryInfoDO> getInfoList(TakeDeliverParam param) {
        return takeDeliveryInfoService.pageList(param);
    }
}
